package com.youhome.service.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

import java.util.Date;
import java.util.List;

@Data
public class BUser {
    private Long userId;

    private String phone;

    @JsonIgnore
    private String username;

    @JsonIgnore
    private String password;

    @JsonIgnore
    private Date ctime;

    @JsonIgnore
    private Date utime;

    private Boolean enabled;

    private List<BRole> roles;

    private BCompany company;

    private BCounselor counselor;

    private Integer reportCount;

    private String openid;

    private String photo;

    private String name;

}